<?php	$atr=array(
					"name"=>"tax",
					"onsubmit"=>"return checkTax()"
				  ); 
	echo form_open('tax/edit1',$atr);
	$bar="Tax Edit"; 
?> 

<table id="box-table-a" cellspacing="1" align="right" width="900px">
	<tr>
		<td colspan=7 align=right class=bar><?php echo $bar;?></td>
	</tr>
	<tr>
		<th>Tax_ID</th>
   			<th>From</th>
   			<th>To</th>
   			<th>Percent</th> 
   			<th>EffectiveDate</th>
   			<th>Action</th>  
	</tr>
	<tr>
			<td><input type="text" name ="Tax_ID" size="15"value=<?php echo $result->Tax_ID; ?>></td>
   			<td><input type "text" name ="From" size="15" value=<?php echo $result->From; ?> onkeyup="this.value=add_commas(this.value);"></td>
   			<td><input type="text" name ="To"  size="15" value=<?php echo $result->To; ?> onkeyup="this.value=add_commas(this.value);"></td>
   			<td><input type="text" name ="Percent" size="15" value=<?php echo $result->Percent; ?>></td>
   			<td><input type "text" name ="EffectiveDate"size="15" value=<?php echo $result->EffectiveDate; ?> id="Date" onclick="loadCalendar(this.id);"></td>
   		<td align="center"><input type="submit" id="submit" value="edit"/> </td>
	</tr>
</table>
